package cn.iocoder.yudao.module.mqtt.controller.admin.configalarm.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - MQTT报警配置分页 Request VO")
@Data
public class ConfigAlarmPageReqVO extends PageParam {

    @Schema(description = "报警类型", example = "1")
    private String alarmType;

    @Schema(description = "数据类型：", example = "2")
    private String dataType;

    @Schema(description = "单位", example = "2")
    private String unit;

    @Schema(description = "大于的值")
    private String greaterValue;

    @Schema(description = "小于的值")
    private String lessValue;

    @Schema(description = "微信消息")
    private String openWeixin;

    @Schema(description = "短信消息")
    private String openSms;

    @Schema(description = "是否启用", example = "1")
    private String ararmStatus;

    @Schema(description = "描述", example = "你说的对")
    private String description;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}